package com.deluxelx.rmo.essay.model.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_essay")
public class Essay {

    private Long id;

    private Long essayId;

    private Long authorId;

    private Integer labelId;

    private String title;

    private String content;

    private Integer praiseNum;

    private Integer collectionNum;

    private Integer readersNum;

    private String imageUrl;

    private Short isDeleted;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
